package com.group.sliding.domain.query;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.group.sliding.result.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "物流信息分页查询条件")
public class LogisticsPageQuery extends PageQuery {
    @ApiModelProperty("订单id")
    private Long orderId;
    @ApiModelProperty("物流单号")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long logisticsNumber;
}
